package com.javaee.mapper.user;

import com.javaee.entity.Department;
import com.javaee.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserUserMapper {
    User findByPhone(String phone);
    void insert(User user);
    public int updateBalance(int id, double balance);

    List<Department> selectAllDepartments();
}
